Skip to content

Conversation

@rwgk
Copy link
Collaborator

@rwgk rwgk commented Feb 13, 2025

Description

Helper/scratch PR for testing.

Suggested changelog entry:

daizhirui and others added 3 commits February 8, 2025 10:43
* Remove some maybe-uninitialized warnings

In the Eigen matrix type_caster, resize the matrix instead of assigning with a new one when the matrix size needs to be adjusted.

This can remove lots of compiling warnings about "maybe-uninitialized".

* Revert "Remove some maybe-uninitialized warnings"

This reverts commit 7d5a9b4.

* Suppress `-Wmaybe-uninitialized` warning

Reproducer: pybind#5516 (comment)

---------

Co-authored-by: Ralf W. Grosse-Kunstleve <[email protected]>
@rwgk rwgk merged commit 7d37eb9 into pybind:smart_holder Feb 13, 2025
78 checks passed
@github-actions github-actions bot added the needs changelog Possibly needs a changelog entry label Feb 13, 2025
@rwgk rwgk deleted the sh_merge_master branch February 13, 2025 04:50
@rwgk rwgk removed the needs changelog Possibly needs a changelog entry label Feb 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants